package xyz.xtgl.merchant.entity;

import java.math.BigDecimal;
import java.util.Date;
import plus.logic.LogicBaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import lombok.experimental.Accessors;

/**
 * <p>
 * 店铺，一个商户可以有多个店铺
 * </p>
 *
 * @author liubo
 * @since 2020-02-14
 */
@Data
@ToString
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
@ApiModel(value="BMerchantStore对象", description="店铺，一个商户可以有多个店铺")
public class BMerchantStore extends LogicBaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "门店名称")
    private String storeName;

    @ApiModelProperty(value = "门店所属商户ID")
    private Long merchantUserId;

    @ApiModelProperty(value = "店铺经度")
    private String longitude;

    @ApiModelProperty(value = "店铺纬度")
    private String latitude;

    @ApiModelProperty(value = "使用状态[0:关闭,1:在用,-1:未付款]")
    private Integer status;

    @ApiModelProperty(value = "商户类型[0:门店,1:仓库,2:加盟]")
    private Integer storeType;

    @ApiModelProperty(value = "启用商店更新产品[0:关闭,1:开启]")
    private Integer enableStoreUpdateProduct;

    @ApiModelProperty(value = "允许最大登录点数")
    private Integer license;

    @ApiModelProperty(value = "到期时间")
    private Date endDate;

    @ApiModelProperty(value = "省code")
    private Integer provinceCode;

    @ApiModelProperty(value = "市code")
    private Integer cityCode;

    @ApiModelProperty(value = "区县code")
    private Integer areaCode;

    @ApiModelProperty(value = "营业开始时间")
    private String startTime;

    @ApiModelProperty(value = "营业结束时间")
    private String endTime;

    @ApiModelProperty(value = "关闭日期")
    private Date closeDate;

    @ApiModelProperty(value = "每月房租")
    private BigDecimal rentFee;

    @ApiModelProperty(value = "每月水电气费用")
    private BigDecimal waterElecGasFee;

    @ApiModelProperty(value = "每月其他费用")
    private BigDecimal otherFee;

}
